import {get,post} from './request'

// 登录
export const login = (params) => get('/user/login',params)

// 根据用户名查询用户信息
export const getByName = (params) =>get('/user/selectByName',params)